package org.smartercontext.test;

import org.smartercontext.contextmger.contextsphere.ContextSphereController;

public class ThreadCS implements Runnable{

	
	private ContextSphereController csc;
	private String username;
	public boolean stop = false;
	
	public ThreadCS(ContextSphereController csc, String username){
		this.csc = csc;
		this.username = username;
	}
	
	@Override
	public void run() {
		
		try {
			csc.getRDFGraph(username);
			stop = true;
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
